﻿// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>Vecen.BangChuang</Solution>
// <Project>Vecen.BangChuang.Application</Project>
// <FileName>UserAddressOutDto.cs</FileName>
// <CreateTime>2017-04-27 23:01</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-27 23:01" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Vecen.BangChuang.BangChuang.Areas.DomainDtos;
using Vecen.BangChuang.BangChuang.Areas.Dtos;

namespace Vecen.BangChuang.BangChuang.Mall.Dtos {
    /// <summary>
    /// 用户收货地址
    /// </summary>
    [AutoMapFrom(typeof(UserAddress))]
    public class UserAddressOutDto: IEntityDto {

        /// <summary>
        /// 省市区县
        /// </summary>
        public FullCityOutDto AreaData { get; set; }

        /// <summary>
        /// 地址详情
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string ContactPhone { get; set; }

        /// <summary>
        /// 收货人姓名
        /// </summary>
        public string ContacterName { get; set; }

        /// <summary>
        /// 是否是默认地址
        /// </summary>
        public bool IsDefault { get; set; }

        /// <summary>
        /// 地址ID
        /// </summary>
        public int Id { get; set; }
    }
}